package com.atguigu.gulimall.product.app;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author learner
 * @Create 2023/12/24 21:28
 * @Version 1.0
 */
@RestController
@RequestMapping(value = "/product/interceptor")
public class InterceptorController{
    
    @GetMapping("/hello")
    public String interceptor() {
        System.out.println("com in interceptor");
        return "hello Interceptor";
    }
}
